import Vue from 'vue';
import App from './App';
import store from './store';
import uView from './components/uview-ui';
import navigate from './common/navigate';
import global from './common/global.js';
import api from './common/api.js';
import http from './common/http.js';
import loading from './components/my-ui/my-loading/my-loading.vue'
import eduLoginMixin from "@/mixins/eduLoginMixin.js"
import frameMixin from "@/mixins/frame.mixin.js"
import * as utils from "@/common/utils.js"
import * as storageCenter from "@/common/storageCenter.js"

Vue.prototype.$utils = utils
Vue.prototype.$storageCenter = storageCenter
Vue.prototype.$store = store;
Vue.prototype.$api = api;
Vue.prototype.$global = global;
Vue.prototype.$http = http;
Vue.component('loading', loading)
Vue.use(uView).mixin(navigate);
Vue.mixin(eduLoginMixin);
Vue.mixin(frameMixin);


App.mpType = 'app'
const app = new Vue({
	...App,
})
app.$mount()
